﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="RateReciepe.aspx.vb" Inherits="kitchenCompetition.RateReciepe" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<table width="100%" >
<tr>
    <td><h1>Rate Recipe</h1></td>
</tr>
<tr>
    <td>
        <table>
            <tr>
                <td>Search Reciepe</td>
                <td><asp:TextBox ID="txtSearch" runat="server"></asp:TextBox></td>                
                <td><asp:Button ID="btnSearch" runat="server" Text="Search" /></td>
                
            </tr>
        </table>
    </td>
</tr>
<tr>
    <td>
        <table width="100%" >
            <tr>
                <td><asp:GridView ID="gvRecipe" runat="server" Width="100%" DataKeyNames="Id" AutoGenerateColumns="False">
                        
                        <Columns>
                            <asp:BoundField DataField="Name" HeaderText="Name" />
                            <asp:BoundField DataField="RecipeName" HeaderText="Recipe Name" />
                            <asp:BoundField DataField="Recipe" HeaderText="Recipe" />
                            <asp:BoundField DataField="Price" HeaderText="Price £" />
                            <asp:BoundField DataField="Duration" HeaderText="Duration" />
                        </Columns>
                        <AlternatingRowStyle BackColor="#FFCC00" />
                        <HeaderStyle BackColor="#FF9900" HorizontalAlign="Left" />
                        <RowStyle HorizontalAlign="Left" />
                    </asp:GridView></td>
            </tr>
        </table>
    </td>
</tr>
</table>
</asp:Content>